package com.xinqi.modules.user.users.third.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 第三方用户绑定表实体层
 *
 * @author: yyzhen
 * @date: 2023/07/17
 */
@Setter
@Getter
@TableName("ue_user_third_bind")
public class UserThirdBindEntity extends UpdateTimeEntity {
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 绑定类型 1:融云token 2 微信 3qq 4appleid
     */
    @TableField(value = "type")
    private String type;
    /**
     * 第三方绑定值
     */
    @TableField(value = "code")
    private String code;
    /**
     *
     */
    @TableField(value = "birthday")
    private LocalDateTime birthday;
}
